_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


                                    LIVE GAME SERVER LIST [ STAND ALONE ]

                                 RICHARD PERRY FROM http://www.greycube.com

                               Released under the terms and conditions of the
                            GNU General Public License Version 3 (http://gnu.org).


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


 CONTACT
 -------

 - If you have questions, problems, suggestions, or feedback, please checkout the forum at GreyCube.com

 - If you found this plugin useful, I would appreciate you signing my guestbook and leaving your site url :)


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


 INSTALLATION
 ------------

 - Edit the lgsl_servers.txt and add your own server IP address, the format is


   ip:port:game  ( example 80.150.75.60:27015:halflife2 )


 - A complete list of games can be found at the bottom of this readme


 - Upload the lgsl folder along with all its contents


 - Set write permission ( CHMOD 777 ) for the file lgsl_cache.dat


 - Set write permission ( CHMOD 777 ) for the file lgsl_module_cache.dat


   LGSL has a caching system which is very important for increased speed and reduced traffic. Without it a
   request would be sent every time the page is viewed, slowing down your site and flooding the game server
   so it stops responding. The index cache will update once per minute, the module cache every three minutes.


 - Your done.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


 GAME TYPES EXPANDED
 -------------------
 
   Most of the short game names are obvious but a few need explaining:
 
 - halflife and halflife2 covers all the mods such as Counter-Strike and Day of Defeat.

 - halflifeold is for non steam servers ( WON ) and their mods such as Counter-Strike 1.5

 - mohq3 ( Quake 3 Handshake ) and mohgs ( GameSpy Handshake ) cover the various versions of Medal of Honour.
   If you find one does not work, try the other.  If both work, check out the different settings they return.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


 MODULE INTEGRATION
 ------------------
 
 - Included is a module which shows details for one or more servers with a map image
 
 
 - It is intended for showing server information on a main page of your website
 
 
 - To activate the module for a server, edit the lgsl_servers.txt, then add ':on' to the end
 
 
   ip:port:game:on  ( example 80.150.75.60:27015:halflife2:on )
   
   
 - Alternatively there is a random server option, edit the lgsl_module.php and change at the top
 

   $lgsl_random = 0;  ( example $lgsl_random = 3; )  to the number of servers ( re-picked each cache update )
 
 
 - To add the module to the page use:
 

   require("lgsl/lgsl_module.php");
 
  
   This assumes that the main page is in the same location as the lgsl folder ( and not the lgsl_module.php )


   For example your folder structure might look like this, and the module could be added to news or downloads

 
   /public_html/news.php
   /public_html/downloads.php
   /public_html/lgsl/lgsl_module.php
   /public_html/lgsl/lgsl_protocol.php

   
   Of course, you may want the folder structure to be different, so at the top of the lgsl_module.php is

   
   $lgsl_path = "lgsl/";

   
   which can be amended.  This is the relative path between the module and the page that is loading it.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

 
 MODULE MAP IMAGES
 -----------------

  - The pictures are 160 x 120 pixel .jpg with 10% to 15% compression.

  - The images place in the following folder structure:  /images/maps/GAMETYPE/MODNAME/MAPNAME.jpg

  - Find out your GAMETYPE and MODNAME by moving your mouse pointer over map image and a popup will appear.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


 CUSTOMISATION
 -------------

   LGSL uses CSS and a lot of the design can be altered by just editing the lgsl_style.css

 
   If you have an existing website design, you probably want make LGSL look similar.


   The three main files which you will want to edit are index.php, lgsl_settings.php, and lgsl_players.php
 
 
   You can then add at the top and bottom your own html, or load a header/footer if you use a template.
 

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

 FAQ
 ---

    Q. Ive installed LGSL, but its not working ?
    A. Read http://www.greycube.com/site/e107_plugins/forum/forum_viewtopic.php?3397

    Q. When I click on the IP, nothing happens ?
    A. IP launch links require either http://qtracker.com or http://videogames.yahoo.com/multiplayer

    Q. I use a hostname which points to my dynamic IP, so the IP launch link does not work !
    A. Edit the index.php and lgsl_module.php and change $lgsl_hostname_to_ip = 0;

    Q. How can I change what software is opened when I click on the IP launch link ?
    A. The software needs to support opening via a link, and the settings are stored in the lgsl_protocol.php

    Q. How do queryports work for Battlefield 1942, Battlefield Vietnam, Battlefield 2, and Battlefield 2142 ?
    A. Default connection ports are changed to default queryports, anything else is treated as a queryport.
    
    Q. Where I can get more images for LGSL ?
    A. See http://www.greycube.com/site/e107_plugins/forum/forum_viewtopic.php?4190 or make your own.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

 SUPPORTED GAME TYPES
 --------------------

  aarmy
  arma
  bfvietnam
  bf1942
  bf2
  bf2142
  callofduty
  callofdutyuo
  callofduty2
  callofduty4
  cncrenegade
  crysis
  doom3
  farcry
  fear
  flashpoint
  graw
  graw2
  halo
  halflife
  halflifeold
  halflife2
  il2
  jediknight2
  mohgs
  mohq3
  mta
  nascar2004
  neverwinter
  neverwinter2
  painkiller
  quakeworld
  quakewars
  quake2
  quake3
  quake4
  ravenshield
  samp
  sof2
  stalker
  startrekef
  swat4
  ut
  ut2003
  ut2004
  ut3
  vietcong
  vietcong2
  warsow
  wolfenstein


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/